home *** CD-ROM | disk | FTP | other *** search
- LPTRST is a program which will reset any parallel port installed in your system,
- and report back the results of such an action. The results are displayed on the screen,
- and are also reported back to DOS via the ERRORLEVEL function. ERRORLEVELs reported are:
-
- 0 - successful reset of port and device.
- 1 - Invalid port number selected. You asked to reset a port that
- isn't physically installed.
- 2 - No parallel ports are installed in this system.
- 3 - HELP was requested.
-
- These ERRORLEVELs can be used in a batch file to control execution of program flow as in
- if you didn't want a particular file to be automatically printed upon startup of your
- computer if the printer wasn't ready.
-
- Sample useage:
-
- LPTRST 1<cr> ; reset port #1
- LPTRST<cr> ; gets HELP for user if user doesn't use the conventional
- '/?' option to get HELP.
- LPTRST /? ; conventional request for HELP
-
- Enjoy with much success!
-
-
-